/**
 * @description webpack 公共参数配置项
 * */ 

'use strict'
const path = require('path');
module.exports = {
    dev:{
        assetsPublicPath:"/",
        assetsSubDirectory:'static',
        proxyTable:{},
        host:"localhost",
        port: 8000,
        autoOpenBrowser: false,
        sourceMap:true,
        devtool: 'cheap-module-eval-source-map',
        notifyOnErrors:true
    },
    build:{
        index: path.resolve(__dirname, '../dist/index.html'),
        assetsPublicPath:"/",
        assetsSubDirectory: 'static',
        //打包后文件路径
        assetsRoot: path.resolve(__dirname,'../dist'),
        productionSourceMap: true,
    }
}